import {
  useDispatch,
} from 'react-redux'
import {
  push,
} from './redux-first-history'
function Home() {
  const dispatch = useDispatch()
  return <div>
    <p>home</p>
    <button onClick={() => dispatch(push('/counter'))}>/counter</button>
  </div>
}

export default Home
